package com.ithema.notebook.notify;

/**
 * Package: com.ithema.notebook.notify
 * Description：
 *
 * @author: huangjian
 * Date:  2020/10/19 11:15
 * Modified By:
 */
public enum NotifyType {
    REMOVE_CONTENT_SELECT_NULL("remove_content_select_null","请选择一行"),
    CREATE_DOCUMENT_SUCCESS("create_document_success","生成文档成功，路径为：%s"),
    CONTENT_IS_EMPTY("content_is_empty","笔记内容为空，请添加笔记"),
    TOPIC_IS_EMPTY("topic_is_empty","请输入文档标题"),
    ADD_NOTEBOOK_SUCCESS("add_notebook_success","添加笔记成功"),
    MOVE_CONTENT_SELECT_TOP("move_content_select_top","当前选中行已经在最顶层!"),
    MOVE_CONTENT_SELECT_BOTTOM("move_content_select_bottom","当前选中行已经在最底层!"),
    ;
    private String code;
    private String message;

    NotifyType(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
